package com.xnyzc.lhy.didi.entity.work;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
*
* 工单信息表
*
* @author cuixiaojian
* @since 2019-11-05
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaSysWorksheet对象", description="工单信息表")
public class OaSysWorksheet implements Serializable {

private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value="worksheet_id", type = IdType.INPUT)
    private Long worksheetId;

    @ApiModelProperty(value = "合力工单id")
    private Long heliWorksheetId;

    @ApiModelProperty(value = "滴滴工单id")
    private Long didiWorksheetId;

    @ApiModelProperty(value = "工单的来源 。1. didi   2.heli")
    private Integer worksheetSource;

    private Long orderId;

    private String district;

    @ApiModelProperty(value = "滴滴工单数据。")
    private String content;

    private String customerName;

    private Integer customerType;

    private Long questionType;

    private Integer wfrole;

    private String phone;

    @ApiModelProperty(value = "扩展字段             滴滴工单数据。")
    private String extra;

    private String dictId;

    private Integer level;

    @ApiModelProperty(value = "城市编号")
    private String cityCode;

    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    @ApiModelProperty(value = "工单编号")
    private String ticketNo;

    @ApiModelProperty(value = "反馈人反馈人")
    private String feedbackPerson;

    @ApiModelProperty(value = "反馈方")
    private String feedbackParty;

    @ApiModelProperty(value = "反馈人联系方式")
    private String feedbackPhone;

    @ApiModelProperty(value = "工单状态")
    private String ticketStatus;

    private String ticketType;

    @ApiModelProperty(value = "加急状态")
    private String urgentStatus;

    @ApiModelProperty(value = "工单来源")
    private String ticketFrom;

    @ApiModelProperty(value = "工单分类")
    private String ticketClassify;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "处理时间")
    private Date handleTime;

    @ApiModelProperty(value = "处理人")
    private String handler;

    @ApiModelProperty(value = "处理内容")
    private String handleContent;

    @ApiModelProperty(value = "司机id")
    private Long driverId;

    @ApiModelProperty(value = "订单金额")
    private BigDecimal orderMoney;

    @ApiModelProperty(value = "改动金额")
    private BigDecimal editMoney;

    @ApiModelProperty(value = "乘客免单 值：0.是1. 否")
    private Integer isPassengerFree;

    @ApiModelProperty(value = "取消订单 0.是 1.否")
    private Integer isOrderCancel;

    @ApiModelProperty(value = "回归确认  0.是1. 否")
    private Integer isReConfirm;

    @ApiModelProperty(value = "抄送人员")
    private String copyPerson;

    @ApiModelProperty(value = "标记违规")
    private String signViolate;

    @ApiModelProperty(value = "备注信息")
    private String remark;

    @ApiModelProperty(value = "起步价")
    private BigDecimal flagFallPrice;

    @ApiModelProperty(value = "里程费")
    private BigDecimal mileageMoney;

    @ApiModelProperty(value = "时长费")
    private BigDecimal lengthMoney;

    @ApiModelProperty(value = "远途费")
    private BigDecimal distanceMoney;

    @ApiModelProperty(value = "路桥费")
    private BigDecimal rodeBridgeMoney;

    @ApiModelProperty(value = "停车费")
    private BigDecimal parkMoney;

    @ApiModelProperty(value = "高速费")
    private BigDecimal highSpeedMoney;

    @ApiModelProperty(value = "其他费")
    private BigDecimal otherMoney;

    @ApiModelProperty(value = "退款原因")
    private String refundReason;

    @ApiModelProperty(value = "改价原因")
    private String editReason;

    @ApiModelProperty(value = "关闭原因")
    private String closeReason;

    @ApiModelProperty(value = "取消原因")
    private String cancleReason;

    @ApiModelProperty(value = "免单原因")
    private String freeReason;

    @ApiModelProperty(value = "录音编号")
    private String recordNo;

    @ApiModelProperty(value = "加急时间")
    private String urgentTime;

    @ApiModelProperty(value = "改价操作人")
    private Integer userId;


    public static final String WORKSHEET_ID = "worksheet_id";

    public static final String HELI_WORKSHEET_ID = "heli_worksheet_id";

    public static final String DIDI_WORKSHEET_ID = "didi_worksheet_id";

    public static final String WORKSHEET_SOURCE = "worksheet_source";

    public static final String ORDER_ID = "order_id";

    public static final String DISTRICT = "district";

    public static final String CONTENT = "content";

    public static final String CUSTOMER_NAME = "customer_name";

    public static final String CUSTOMER_TYPE = "customer_type";

    public static final String QUESTION_TYPE = "question_type";

    public static final String WFROLE = "wfrole";

    public static final String PHONE = "phone";

    public static final String EXTRA = "extra";

    public static final String DICT_ID = "dict_id";

    public static final String LEVEL = "level";

    public static final String CITY_CODE = "city_code";

    public static final String ORDER_NO = "order_no";

    public static final String TICKET_NO = "ticket_no";

    public static final String FEEDBACK_PERSON = "feedback_person";

    public static final String FEEDBACK_PARTY = "feedback_party";

    public static final String FEEDBACK_PHONE = "feedback_phone";

    public static final String TICKET_STATUS = "ticket_status";

    public static final String TICKET_TYPE = "ticket_type";

    public static final String URGENT_STATUS = "urgent_status";

    public static final String TICKET_FROM = "ticket_from";

    public static final String TICKET_CLASSIFY = "ticket_classify";

    public static final String CREATE_TIME = "create_time";

    public static final String CREATE_USER = "create_user";

    public static final String HANDLE_TIME = "handle_time";

    public static final String HANDLER = "handler";

    public static final String HANDLE_CONTENT = "handle_content";

    public static final String DRIVER_ID = "driver_id";

    public static final String ORDER_MONEY = "order_money";

    public static final String EDIT_MONEY = "edit_money";

    public static final String IS_PASSENGER_FREE = "is_passenger_free";

    public static final String IS_ORDER_CANCEL = "is_order_cancel";

    public static final String IS_RE_CONFIRM = "is_re_confirm";

    public static final String COPY_PERSON = "copy_person";

    public static final String SIGN_VIOLATE = "sign_violate";

    public static final String REMARK = "remark";

    public static final String FLAG_FALL_PRICE = "flag_fall_price";

    public static final String MILEAGE_MONEY = "mileage_money";

    public static final String LENGTH_MONEY = "length_money";

    public static final String DISTANCE_MONEY = "distance_money";

    public static final String RODE_BRIDGE_MONEY = "rode_bridge_money";

    public static final String PARK_MONEY = "park_money";

    public static final String HIGH_SPEED_MONEY = "high_speed_money";

    public static final String OTHER_MONEY = "other_money";

    public static final String REFUND_REASON = "refund_reason";

    public static final String EDIT_REASON = "edit_reason";

    public static final String CLOSE_REASON = "close_reason";

    public static final String CANCLE_REASON = "cancle_reason";

    public static final String FREE_REASON = "free_reason";

    public static final String RECORD_NO = "record_no";

    public static final String URGENT_TIME = "urgent_time";

    public static final String USER_ID = "user_id";

}
